package com.system.demo.entity.comment;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("comments")
public class Comments {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String fromId;
    private String fromName;
    private String content;
    private LocalDateTime date;
    private Integer type;
    private Integer isCheck;
    //对应数据库中的comments表，注释就不写了 数据库中有注释
}
